package com.support.net

/**
 * 请求入参封装一下
 */
object Params {
    fun get(vararg pairs: Pair<String, Any>): List<Map<String, Any>> {
        val map = HashMap<String, Any>()
        pairs.forEach {
            map[it.first] = it.second
        }
        return listOf(map)
    }
}